package com.ruoyi.asset.domain;

/**
 * 资产统计信息
 * 
 * @author ruoyi
 * @date 2025-10-21
 */
public class AssetStatistics {
    
    /** 总设备数 */
    private Long total;
    
    /** 正常设备数 */
    private Long normal;
    
    /** 故障设备数 */
    private Long fault;
    
    /** 闲置设备数 */
    private Long idle;
    
    /** 已报废设备数 */
    private Long scrapped;
    
    /** 维护中设备数 */
    private Long maintenance;

    public AssetStatistics() {
    }

    public AssetStatistics(Long total, Long normal, Long fault, Long idle, Long scrapped, Long maintenance) {
        this.total = total;
        this.normal = normal;
        this.fault = fault;
        this.idle = idle;
        this.scrapped = scrapped;
        this.maintenance = maintenance;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Long getNormal() {
        return normal;
    }

    public void setNormal(Long normal) {
        this.normal = normal;
    }

    public Long getFault() {
        return fault;
    }

    public void setFault(Long fault) {
        this.fault = fault;
    }

    public Long getIdle() {
        return idle;
    }

    public void setIdle(Long idle) {
        this.idle = idle;
    }

    public Long getScrapped() {
        return scrapped;
    }

    public void setScrapped(Long scrapped) {
        this.scrapped = scrapped;
    }

    public Long getMaintenance() {
        return maintenance;
    }

    public void setMaintenance(Long maintenance) {
        this.maintenance = maintenance;
    }

    @Override
    public String toString() {
        return "AssetStatistics{" +
                "total=" + total +
                ", normal=" + normal +
                ", fault=" + fault +
                ", idle=" + idle +
                ", scrapped=" + scrapped +
                ", maintenance=" + maintenance +
                '}';
    }
}
